<?php

namespace catchAdmin\archives\request;

use catcher\base\CatchRequest;

class SavePatientInfoRequest extends CatchRequest
{
    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'type|患者类型' => [
                'require'
            ],
            'name|患者姓名' => [
                'require'
            ],
            'sex|性别' => [
                'require'
            ],
            'idno|身份证号' => [
                'require',
                'idCard'
            ],
            'mobile|手机号' => [
                'require',
                'mobile'
            ]
        ];
    }
}